package com.keta.foundation.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.keta.foundation.entity.Monitor;
import com.keta.foundation.util.dwz.Page;

public interface MonitorService {

	Monitor get(Long id);
	
	long getMonitorCount();

	void saveOrUpdate(Monitor monitor);

	List<Monitor> getAll();

	List<Monitor> getAll(Page page);

	List<Monitor> getAll(Specification<Monitor> specification, Page page);

	void delete(Long id);
	
	void delete(Monitor monitor);
}
